package com.msmall.community.common.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.msmall.base.model.BaseObject;

@Entity
@Table(name="base_city")
public class City extends BaseObject{

	private static final long serialVersionUID = 2007181474923035920L;

	/**
	 * EG:110000
	 */
	@Id
	@Column(name="city_code")
	private String cityCode;
	
	/**
	 * EG:北京市
	 */
	@Column(name="full_name")
	private String fullName;
	
	/**
	 * EG:Beijing
	 */
	@Column(name="english_name")
	private String englishName;
	
	@Column(name="phone_code")
	private String phoneCode;
	
	@Column(name="post_code")
	private String postCode;
	
	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getEnglishName() {
		return englishName;
	}

	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}

	public String getPhoneCode() {
		return phoneCode;
	}

	public void setPhoneCode(String phoneCode) {
		this.phoneCode = phoneCode;
	}

	public String getPostCode() {
		return postCode;
	}

	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}

	public boolean equals(Object o) {
		return false;
	}

	public int hashCode() {
		return 0;
	}

	public String toString() {
		return null;
	}

}
